package com.ruike.alisurface.http;

import com.ruike.alisurface.Constant;
import com.voodoo.lib_frame.httpTools.ApiTools;

public class UrlHttpUtils {

    public static ApiTools apiTools = new ApiTools();


    public static final String BASE_URL = "http://www.shouhuojiyun.com/Rknew"; // 正式接口
    public static final String BASE_CMD = "http://120.78.219.34:8018"; // 正式CMD指令回调接口

//        public static final String BASE_URL = "http://c.shouhuojiyun.com"; // 测试接口
//        public static final String BASE_URL_CMD = "http://47.106.175.214:8018"; // 测试CMD指令回调接口

    public static final String url_log = BASE_CMD + "/mchapi/addlog"; // 上传log接口

    private static String MCHAPI_CAPITAL = BASE_URL+ "/MchApi/";
    private static String MCHAPI_LOWER = BASE_URL + "/mchapi/";

    private static String APPUNDATE = BASE_CMD + "/AppUpdate/";


    private static String GETAPPVERSION = MCHAPI_CAPITAL + "getAppVersion";//获取程序版本

    private static String GETMCHBYSN = MCHAPI_LOWER+ "geMchBySn";//获取SN

    private static String LOGINBYMCH = MCHAPI_CAPITAL + "LoginByMch";// 登录
    private static String GETSLOTS = MCHAPI_LOWER + "getSlots";//获取商品列表数据

    private static String GETPRODUCT = MCHAPI_LOWER + "getProduct";//按类型获取商品列表数据

    private static String GET_PRODUCTINFO = MCHAPI_LOWER + "Get_Productinfo";// 获取商品详情数据

    private static String CREATE =BASE_URL + "/app/order/create";//获取商品支付二维码

    private static String CREATE_FORPRODUCT =BASE_URL + "/app/order/CreateForProduct";//获取商品类型支付二维码



    public static   String CONFIRM_APPLYAD = BASE_CMD + "/A_AdApi/Confirm_ApplyAd";//安卓告知服务器广告更换完成

    public static   String TElLLSERVICE_APPVERSION_INFO =APPUNDATE + "TellService_AppVersion_Info";//告知服务器主程序版本信息

    private static String OTHERAPI ="http://120.78.219.34:9018/otherApi/";
    // 卡充值
    private static String   CREATERECHARGEORDERURL = BASE_URL+ "/app/Order/Create_Recharge_Order";

    // 卡支付按照商品创建订单
    private static String CARDCREATEORDERBYPRODUCT =OTHERAPI+ "card/Rk_Card_CreateOrder_ByProduct";
    // 卡支付按照货道创建订单
    private static String CARDCREATEORDERBYSLOT = OTHERAPI+"card/Rk_Card_CreateOrder_BySlot";
    // 卡支付订单完结
    private static String RKCARDEDNORDER = OTHERAPI+"card/Rk_Card_EndOrder";


    private static String GETCARDDETAILS =OTHERAPI + "/card/get_card_details";//查询卡信息


    private static String CARDURL =BASE_URL + "/App/Card/";

    private static String RECHARGE =CARDURL + "/Recharge";//充值
    private static String CREATEORDER =CARDURL + "/CreateOrder";//创建订单




    //上传网络信号
    private static String SUBMITSIGNALINTENSITY = "http://120.78.219.34:8018/MchApi/submit_signal_intensity";// mchid=100&value=-70



}
